import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { RouterModule } from '@angular/router';

import { GbSubjectSharedModule } from '../../shared';
import {
    IndicatorMySuffixService,
    IndicatorMySuffixPopupService,
    IndicatorMySuffixComponent,
    IndicatorMySuffixDetailComponent,
    IndicatorMySuffixDialogComponent,
    IndicatorMySuffixPopupComponent,
    IndicatorMySuffixDeletePopupComponent,
    IndicatorMySuffixDeleteDialogComponent,
    indicatorRoute,
    indicatorPopupRoute,
    IndicatorMySuffixResolvePagingParams,
} from './';

const ENTITY_STATES = [
    ...indicatorRoute,
    ...indicatorPopupRoute,
];

@NgModule({
    imports: [
        GbSubjectSharedModule,
        RouterModule.forChild(ENTITY_STATES)
    ],
    declarations: [
        IndicatorMySuffixComponent,
        IndicatorMySuffixDetailComponent,
        IndicatorMySuffixDialogComponent,
        IndicatorMySuffixDeleteDialogComponent,
        IndicatorMySuffixPopupComponent,
        IndicatorMySuffixDeletePopupComponent,
    ],
    entryComponents: [
        IndicatorMySuffixComponent,
        IndicatorMySuffixDialogComponent,
        IndicatorMySuffixPopupComponent,
        IndicatorMySuffixDeleteDialogComponent,
        IndicatorMySuffixDeletePopupComponent,
    ],
    providers: [
        IndicatorMySuffixService,
        IndicatorMySuffixPopupService,
        IndicatorMySuffixResolvePagingParams,
    ],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class GbSubjectIndicatorMySuffixModule {}
